package com.ybkj.daijia.server.event.model.freight;

import com.ybkj.daijia.server.freight.Order;
import com.ybkj.daijia.server.mc.Passenger;
import org.springframework.context.ApplicationEvent;

public class FreightOrderArriveEvent extends ApplicationEvent {


    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Passenger passenger;


    public FreightOrderArriveEvent(Order source, Passenger passenger) {
        super(source);
        this.passenger = passenger;
    }

    public Passenger getPassenger() {
        return passenger;
    }

    public void setPassenger(Passenger passenger) {
        this.passenger = passenger;
    }

}
